package com.ccb.sc.common.modules.live.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ccb.sc.common.entity.BaseEntity;
import com.ccb.sc.common.modules.member.enums.MemberSource;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 直播预约表
 * </p>
 *
 * @author ken
 * @since 2022-07-30
 */
@Getter
@Setter
@TableName("tb_live_streaming_reserve")
public class LiveStreamingReserve extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 会员id
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 用户openId
     */
    @TableField("open_id")
    private String openId;

    /**
     * 直播id
     */
    @TableField("live_id")
    private Long liveId;

    /**
     * 直播商品id
     */
    @TableField("live_streaming_goods_id")
    private Long liveStreamingGoodsId;

    /**
     * 来源 1：微信小程序 2抖音小程序
     */
    @TableField("source")
    private MemberSource source;

    /**
     * 状态 0未提醒 1已提醒
     */
    @TableField("status")
    private Integer status;

    /**
     * 是否删除
     */
    @TableField("deleted")
    @TableLogic
    private Boolean deleted;


}
